/*
 * main.c
 *
 *  Created on: Feb 25, 2012
 *      Author: Holly
 */

#include <stdio.h>
#include "cpu.h"
#include "process.h"

process procs[];
process proc0;
process proc1;
process proc2;
process proc3;

int main(void){
	proc0.addressForSyscall = 895;
	proc0.pc = 0;
	proc0.id = 0;
	proc0.name = UI;
	proc0.priority = 5;
	proc0.status = RUNNABLE;
	proc0.strName = "UI";
	proc0.strStatus = "RUNNABLE";
	proc0.wasLastProcessRun = 0;
	procs[0] = proc0;

	initializeCPU(procs, 1, 'r');
	runCPU();
	return 0;
}

